Skip to content

[CN] Added "Loading a global settings file" #964

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 14, 2017
Merged

[CN] Added "Loading a global settings file" #964

merged 2 commits into from
Sep 14, 2017

Conversation

Jinjiang
Copy link
Member

@Jinjiang Jinjiang commented Sep 4, 2017

ref #961

@kazupon kazupon requested a review from fnlctrl September 4, 2017 02:38
@kazupon
Copy link
Member

kazupon commented Sep 4, 2017

/ping @fnlctrl please review it! 🙏

@@ -37,6 +37,40 @@ npm install sass-loader node-sass --save-dev

如要获得更多关于 `vue-loader` 的配置信息,请查看 [Loader 进阶配置](./advanced.md) 章节。

### 加载一个全局设置文件

在每个组件里加载一个设置文件,而无需每次都将其显示导入,是一个常见的需求。比如为所有组件全局使用 scss 变量。为了达成此目的:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

一个小typo😂: 显示 => 显式

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@kazupon
Copy link
Member

kazupon commented Sep 14, 2017

@Jinjiang @fnlctrl thanks!

@kazupon kazupon merged commit db54537 into vuejs:master Sep 14, 2017
@Jinjiang Jinjiang deleted the patch-1 branch September 14, 2017 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants